package main.controller;

import main.GlobalConfig;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TermPageController {
    @RequestMapping(value="/terms")
    public String showTerms(ModelMap modelMap) {
        modelMap.put("siteName", GlobalConfig.siteName);
        return "term";
    }
}
